﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TB_SGFSList.aspx.cs" Inherits="SkWeb.FYCS.TB_SGFSList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>施工方式维护</title>
    <link href="../../css/adminCss.css" rel="stylesheet" type="text/css" />
    <script src="../../js/changerows.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="99%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="31" style="height: 25px">
                <img src="../images/module.gif" width="20" alt="" />
            </td>
            <td style="width: 232px; height: 25px;">
                <asp:Label ID="lblPath" runat="server"></asp:Label>
            </td>
            <td width="80%" align="right" style="height: 25px">
            </td>
        </tr>
    </table>
    <table width="99%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td bgcolor="#3CB6E5" height="5px">
            </td>
        </tr>
    </table>
    <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" Width="99%"
        CssClass="gridview" RowStyle-HorizontalAlign="center" EmptyDataText="没有数据" OnRowDataBound="GvData_RowDataBound"
        AllowPaging="True" PageSize="20" OnRowCommand="gvData_RowCommand">
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" />
            <asp:BoundField DataField="SGFS" HeaderText="施工方式" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <asp:LinkButton ID="lnkbtnEdit" CssClass="lnkbtn" runat="server" CommandArgument='<%#Eval("ID") %>'
                        CommandName="EditRow">修改</asp:LinkButton>
                    <asp:LinkButton ID="lnkbtnDel" CssClass="lnkbtn" runat="server" OnClientClick="return confirm('确定要删除吗?')"
                        CommandName="DeleteRow" CommandArgument='<%#Eval("ID") %>'>删除</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <RowStyle HorizontalAlign="Center" />
        <EmptyDataRowStyle ForeColor="Red" HorizontalAlign="Center" />
        <PagerStyle HorizontalAlign="Center" />
    </asp:GridView>
    <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                &nbsp;
            </td>
            <td align="right">
                <asp:Button ID="btnAdd" runat="server" Text="添加" CssClass="submit" CausesValidation="False"
                    OnClick="btnAdd_Click" />
            </td>
        </tr>
    </table>
    <p>
        <asp:Label ID="lblMsg" ForeColor="Red" runat="server" Text=""></asp:Label>&nbsp;
    </p>
    </form>
</body>
</html>
<script type="text/javascript" language="javascript">
    //senfe("表格名称","奇数行背景","偶数行背景","鼠标经过背景","点击后背景");
    senfe("gvData", "#ECF9FC", "#FFFFFF", "#D6F1F8");
</script>